<?php
//CONFIGURATION SITE
require_once($main_path_relatif.'configuration/config.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <!-- Balises meta variables -->
        <title><?php echo $title; ?></title>
        <meta name="description"                content="<?php echo $description; ?>" />
        <meta name="keywords"                   content="<?php echo $keyword.", ".KEYWORDS_COMMUNS; ?>" />
        <?php 
        if($moteur_recherche == false){
            ?>
            <meta name="robots" content="none" />
            <?php
        }
        ?>
        
        <!-- Balises meta fixes -->
        <meta http-equiv="Content-Type"         content="text/html; charset=utf-8"/>
        <meta name="author"                     content="Mickael TOURBOT" />
        <meta name="google-site-verification"   content="lea_0ewJsN2M8xFDuJ4SJAzcmRUPLMIT04WL_QtEvU8" />
        
        <!-- Fichiers diverrs appelés sur toutes les pages (css, js...) -->
        <!-- CSS -->
        <link rel="stylesheet" type="text/css" href="<?php echo URL_MAIN_PATH_ABSOLUE.'style/style.css'; ?>"/>
        <link rel="stylesheet" href="<?php echo URL_MAIN_PATH_ABSOLUE.'plugin/zoombox/zoombox.css'; ?>" type="text/css" media="screen" />
        <link rel="shortcut icon" type="image/x-icon" href="<?php echo URL_MAIN_PATH_ABSOLUE.'images/favicon.ico'; ?>" />
        <!-- JS -->
        <script type="text/javascript" src="<?php echo URL_MAIN_PATH_ABSOLUE.'javascript/fonctions.js'; ?>"></script>
        <script type="text/javascript" src="<?php echo URL_MAIN_PATH_ABSOLUE.'javascript/verif_formulaires.js'; ?>"></script>
        <script type="text/javascript" src="<?php echo URL_MAIN_PATH_ABSOLUE.'javascript/regexp.js'; ?>"></script>
        <script type="text/javascript" src="<?php echo URL_MAIN_PATH_ABSOLUE.'javascript/jquery-1.4.4.js'; ?>"></script>
        <script type="text/javascript" src="<?php echo URL_MAIN_PATH_ABSOLUE.'javascript/ajax.js'; ?>"></script>
        <script type="text/javascript" src="<?php echo URL_MAIN_PATH_ABSOLUE.'plugin/zoombox/zoombox.js'; ?>"></script>
        <script type="text/javascript">
            var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
            document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
        </script>
        <script type="text/javascript">
            try {
            var pageTracker = _gat._getTracker("UA-13109121-1");
            pageTracker._trackPageview();
            } catch(err) {} 
        </script>
        <!-- Redimenssionnement de la div pour éviter d'avoir le background en rayure coupé au milieu -->
        <script type="text/javascript">
            onload = function() {
                    //Taille du background = 16px
                    var tranche = 16 ;
                    //Taille de la div
                    var divh = document.getElementById('fond_repete').offsetHeight ;
                    // alert("Valeur d'origine du div : " + divh + "px") ;
                    if (divh % tranche != 0)
                    {
                            var divhmodif = divh + (tranche - (divh % tranche)) ;
                            document.getElementById('fond_repete').style.height = divhmodif + "px" ;
                    }
                    // alert("Nouvelle valeur du div : " + document.getElementById('nomdiv').offsetHeight + "px") ;
            }
        </script>
    </head>
    <body>
	<div id="header">
	</div>
	<div id="fond_repete">
            <div id="menu" >
                <map name="menu_map" id="menu_map"> 
                    <area shape="rect" coords="0,0,179,38"      href="<?php echo URL_MAIN_PATH_ABSOLUE.'index.php'; ?>"        alt="Accueil"/>
                    <area shape="rect" coords="180,0,358,38"    href="<?php echo URL_MAIN_PATH_ABSOLUE.'realisations.php'; ?>" alt="Réalisations" />
                    <area shape="rect" coords="359,0,537,38"    href="<?php echo URL_MAIN_PATH_ABSOLUE.'cv.php'; ?>"           alt="Curriculum vitae" />
                    <area shape="rect" coords="538,0,716,38"    href="<?php echo URL_MAIN_PATH_ABSOLUE.'contact.php'; ?>"      alt="Contact" />
                </map>